package cn.xinfei.xdecision.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;


@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class DecisionReentryApiRequest {

    private static final Integer PAGE_SIZE = 100;
    private static final Integer PAGE_STAR = 0;

    private String mainDecisionId;
    private String decisionId;
    private String requestId;
    private String code;
    private String sync="ASYNC";
    private Date start;
    private Date end;
    private Integer retry=500;
    private Integer pageSize=PAGE_SIZE;
    private Integer pageStart=PAGE_STAR;


    /**
     * 任务分片总数
     */
    private int shardTotal=1;
    /**
     * 任务分片索引
     */
    private int shardIndex=0;

}
